package com.lastproject.dto;

import java.io.Serializable;
import java.util.Date;

import javax.faces.bean.ManagedBean;

public class ReportDTO implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -9015120119546792731L;

	private int id;

	private String name;

	private String selClause;

	private String whereClause;
	
	private String fromClause;
	
	private String sortClause;

	private Date date;
	
	private int idEmployee;

	private boolean isConfidential;

	public int getIdEmployee() {
		return idEmployee;
	}

	public void setIdEmployee(int idEmployee) {
		this.idEmployee = idEmployee;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name.trim();
	}

	public String getSelClause() {
		return selClause;
	}

	public void setSelClause(String selClause) {
		this.selClause = selClause;
	}

	public String getWhereClause() {
		return whereClause;
	}

	public void setWhereClause(String whereClause) {
		this.whereClause = whereClause;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getFromClause() {
		return fromClause;
	}

	public void setFromClause(String fromClause) {
		this.fromClause = fromClause;
	}
	
	public String getSortClause() {
		return sortClause;
	}

	public void setSortClause(String sortClause) {
		this.sortClause = sortClause;
	}

	public boolean isConfidential() {
		return isConfidential;
	}

	public void setConfidential(boolean isConfidential) {
		this.isConfidential = isConfidential;
	}

}
